<html>
<head>
<link rel="stylesheet" href="@{'/public/stylesheets/forms.css'}">

<link rel="stylesheet" href="@{'/public/stylesheets/forms.css'}">


</head>

<body>

<div id=main>
	<h3>Create an Entity</h3>
	 <form name= entity  action="@{Entity.AssignOrganizer(entity)}"
	  method = "POST" >
	    			
		<div class="content">
			<div class="row">
				<div class="left">Entity name</div>
				<div class="right">
					<input name=entity.entityName type="text" required />
				</div>
				<div class="clear"></div>
			</div>
			<div class="row">
				<div class="left">Status</div>
				<div class="right"> 
					<select name = entity.isLocked> 
						<option value="True">Locked</option>
						<option value="False">UnLocked</option>
					</select>
				</div>
				<div class="clear"></div>
			</div>
			<div class="row">
				<div class="left"></div>
				<div class="right">
					<input type=submit value="Create">
					
					
				</div>
				<div class="clear"></div>
			</div>
		</div>
		#{if flash.error}
		<p style="color:#c00">
		${flash.error}
		</p>
		#{/if}
		
	</form>
</div>


</body>





</html> 

	